

package com.hazelcast.config;

import com.hazelcast.security.SecurityInterceptor;

/**
 * This class is used to configure {@link SecurityInterceptor}
 */
public class SecurityInterceptorConfig {

    protected String className;

    protected SecurityInterceptor implementation;

    public SecurityInterceptorConfig() {
    }

    public SecurityInterceptorConfig(final String className) {
        this.className = className;
    }

    public SecurityInterceptorConfig(final SecurityInterceptor implementation) {
        this.implementation = implementation;
    }

    public String getClassName() {
        return className;
    }

    public SecurityInterceptorConfig setClassName(final String className) {
        this.className = className;
        return this;
    }

    public SecurityInterceptor getImplementation() {
        return implementation;
    }

    public SecurityInterceptorConfig setImplementation(final SecurityInterceptor implementation) {
        this.implementation = implementation;
        return this;
    }
}
